package com.csvw.skr.newTask.entity.meeting;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by Administrator on 2016/12/7.
 */
@Entity
@Table(name = "csvw_skr_task_meeting_plan_procedure")
public class PlanProcedure {

    /**
     * 例会计划ID - 例会议程ID
     */
    @Id
    @Column(name = "pk_id", length = 100)
    private String id;

    /**
     * 例会计划ID
     */
    @Column(length = 50)
    private String meetingId;

    /**
     * 例会议程ID
     */
    @Column(length = 50)
    private String procedureId;

    /**
     * 例会议程是否参
     */
    @Column(nullable=false, columnDefinition="bit default 0")
    private boolean completed = false;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProcedureId() {
        return procedureId;
    }

    public void setProcedureId(String procedureId) {
        this.procedureId = procedureId;
    }

    public String getMeetingId() {
        return meetingId;
    }

    public void setMeetingId(String meetingId) {
        this.meetingId = meetingId;
    }

    public boolean isCompleted() {
        return completed;
    }

    public void setCompleted(boolean completed) {
        this.completed = completed;
    }
}
